package vip.denglei.company.model.app;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDateTime;

import lombok.Data;

/**
 * 购物车
 */
@Data
@TableName(value = "app_shopping_cart")
public class AppShoppingCart {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.INPUT)
    private Integer id;
    /**
     * 商品id
     */
    @TableField(value = "pro_id")
    private String proId;

    @TableField(value = "pro_volume")
    private Integer proVolume;

    @TableField(value = "create_time")
    private LocalDateTime createTime;
    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private String userId;
}